package com.glorysoft.hlgdpda.entity

import java.io.Serializable

/**
 * FileName: CodeListEntity
 * Author: XJH
 * Date: 2021/5/26 11:03
 * Description:
 * History:
 */
data class CodeListEntity(
    var XSTEP : CodeEntity = CodeEntity(),
    var HOLDCODELISTS : List<CodeEntity> = arrayListOf(),
    var RELEASECODELISTS : List<CodeEntity> = arrayListOf(),
    var SCRAPCODELISTS : List<CodeEntity> = arrayListOf(),
    var BONUSCODELISTS : List<CodeEntity> = arrayListOf(),
    var REWORKCODELISTS : List<CodeEntity> = arrayListOf(),
    var DEFECTCODELISTS : List<CodeEntity> = arrayListOf()
) : Serializable {

    data class CodeEntity(
        var NAME : String = "",
        var DESCRIPTION : String = "",
        var REFERENCENAME : String = "",
        var KEYID : String = "",
        var TEXT : String = "",
        var SEQNO : String = "",
        var MAINQTY : String = "0",
        var LOTID : String = "",
        var OBJECTRRN : String = ""
    ) : Serializable

    data class ActionEntity(
        var ACTIONTYPE : String = "",
        var LOTID : String = "",
        var MAINQTY : String = "",
        var ACTIONCODE : String = "",
        var ACTIONREASON : String = "",
        var ACTIONCOMMENT : String = ""
    ) : Serializable
}